Tag Object Properties
The interface to tag objects is entirely procedural. You manipulate the information in a tag object by modifying its properties using QuickDraw GX functions.Tag objects have four accessible properties, as shown in Figure 8-1. Note that, because
a tag is an object and not a data structure, the order of the properties as shown in
Figure 8-1 is completely arbitrary.Figure 8-1 The tag object and its properties
These are the four accessible properties of a tag object:
QuickDraw GX provides functions to manipulate each of these tag object properties.
- Tag type. A 4-byte value that specifies the type of this tag object. On the Macintosh computer, tag types are typically represented with four-character mnemonics, such as
'DAVE'
.- Size. The size in bytes of the contents of the tag object.
- Contents. The data that makes up this tag object. QuickDraw GX is unconcerned with the nature of the data; you can place whatever information you wish into the contents of a tag object.
- Owner count. The number of existing references to this tag object.